package com.example.makerspace.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.example.makerspace.mapper.MybatisListHandler;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.data.elasticsearch.annotations.Document;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@TableName(value = "t_organize")
@Data
@Document(indexName = "t_organize")
public class OrganizeDO extends  BaseDO{
    private  String username;
    private  String organizeName;
    @TableField(typeHandler = MybatisListHandler.class)
    private List<String>  organizePeople;
    private  String organizeFullName;
    private  String organizeDescription;
    private  String organizeLink;
    private  String mapAddress;
    private  String visibility;
    private  String avatar;
}
